package com.gw.business.system.semil.model;

import java.util.Date;

import com.gw.platform.model.BaseModel;
/**
 * 邮件配置model
 * @author  kidy
 * @since   1.0
 * @version 2015年1月27日 kidy
 */
public class EmailSetModel implements BaseModel{
  
    private static final long serialVersionUID = 1103682614778279830L;
    //主键id
    private Integer id;
    //用户名
    private String userName;
    //手机号
    private String mobile;
    //email邮箱
    private String email;
    //异常类型
    private String errorType;
    //是否发送邮件
    private String isSend;
    //创建时间
    private Date createTime;
    public String getErrorTypeTemp(){
        String temp="";
        if(this.errorType.equals("0")){
            temp="点击异常";
        }else if(this.errorType.equals("1")){
            temp="注册异常";
        }else  {
            temp="点击异常"+"/"+"注册异常";
        }
        
        return temp;
    }
    public Integer getId() {
        return id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMobile() {
        return mobile;
    }
    
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    
    public String getEmail() {
        return email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }
    
    public String getErrorType() {
        return errorType;
    }
    public void setErrorType(String errorType) {
        this.errorType = errorType;
    }

    public String getIsSend() {
        return isSend;
    }

    public void setIsSend(String isSend) {
        this.isSend = isSend;
    }

    public Date getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    } 
}
